package com.admin.education.services.Interfaces;

import com.admin.education.common.exceptions.ResourceNotFoundException;
import com.admin.education.dataTransferObject.PageResponse;
import com.admin.education.dataTransferObject.ServicesExcuteResult;
import com.admin.education.dataTransferObject.integrals.IntegralsTransfer;
import com.admin.education.dataTransferObject.integrals.Request.QueryIntegralRequest;

import javax.validation.Valid;

public interface IIntegralsService {
    ServicesExcuteResult<PageResponse<IntegralsTransfer>> queryIntegrals(@Valid QueryIntegralRequest queryIntegralRequest);
    ServicesExcuteResult<IntegralsTransfer> queryIntegralByUserInformationId(long userInformationId) throws ResourceNotFoundException;
}
